IF OBJECT_ID('ssf.fs_ntfs_get_path_parent') IS NOT NULL
	DROP FUNCTION [ssf].[fs_ntfs_get_path_parent];
GO

CREATE FUNCTION [ssf].[fs_ntfs_get_path_parent](
	@path NVARCHAR(512))
RETURNS NVARCHAR(512)
WITH EXECUTE AS CALLER
	, RETURNS NULL ON NULL INPUT
AS
EXTERNAL NAME [FileSystem].[SQLServerFramework.NTFS].[GetPathParent]
GO
